package cn.vplay.services.impl;

import java.util.List;

import cn.vplay.dao.CategoryMapper;
import cn.vplay.beans.Category;
import cn.vplay.services.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service("categoryService")
public class CategoryServiceImpl implements CategoryService {
	
	@Autowired
	private CategoryMapper categoryMapper;

	//获得电影种类列表
	@Override
	public List<Category> getCategorys() {
		return categoryMapper.selectCategorys();
	}

}
